﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 赔偿报告
    /// </summary>
    /// 

    public class ReimbursementDTO
    {
        public string code { get; set; }
        public string message { get; set; }
        public string request_id { get; set; }
        public string response_time { get; set; }
        public int total { get; set; }
        public List<Reimbursement> data { get; set; }

    }


    public class Reimbursement
    {
        public string ID { get; set; }
        public string RowId { get; set; }

    

        /// <summary>
        /// 店铺id
        /// </summary>
        public string sid { get; set; }
        /// <summary>
        /// 批准日期【站点时间】	
        /// </summary>
        public string approval_date { get; set; }
        /// <summary>
        /// 批准日期【北京时间】		
        /// </summary>
        public string approval_date_locale { get; set; }
        /// <summary>
        /// 赔偿编号	
        /// </summary>
        public string reimbursement_id { get; set; }
        /// <summary>
        /// 问题编号		
        /// </summary>
        public string case_id { get; set; }
        /// <summary>
        /// 亚马逊订单号		
        /// </summary>
        public string amazon_order_id { get; set; }
        /// <summary>
        /// 原因	
        /// </summary>
        public string reason { get; set; }
        /// <summary>
        /// MSKU
        /// </summary>
        public string msku { get; set; }
        /// <summary>
        /// FNSKU
        /// </summary>
        public string fnsku { get; set; }
        /// <summary>
        /// ASIN
        /// </summary>
        public string asin { get; set; }
        /// <summary>
        /// 标题		
        /// </summary>
        public string item_name { get; set; }
        /// <summary>
        /// 状况	
        /// </summary>
        public string condition { get; set; }
        /// <summary>
        /// 币种		
        /// </summary>
        public string currency_unit { get; set; }
        /// <summary>
        /// 每件商品赔偿金额		
        /// </summary>
        public decimal amount_per_unit { get; set; }
        /// <summary>
        /// 总金额		
        /// </summary>
        public decimal amount_total { get; set; }
        /// <summary>
        /// 赔偿数量（现金）		
        /// </summary>
        public decimal quantity_reimbursed_cash { get; set; }
        /// <summary>
        /// 赔偿数量（库存）		
        /// </summary>
        public decimal quantity_reimbursed_inventory { get; set; }
        /// <summary>
        /// 赔偿数量（总计）		
        /// </summary>
        public decimal quantity_reimbursed_total { get; set; }
        /// <summary>
        /// 原始赔偿编号		
        /// </summary>
        public string original_reimbursement_id { get; set; }
        /// <summary>
        /// 赔偿类型			
        /// </summary>
        public string original_reimbursement_type { get; set; }

        /// <summary>
        /// 退货订单			
        /// </summary>
        public string returnOrder { get; set; }

        /// <summary>
        /// 退货数量			
        /// </summary>
        public decimal returnQty { get; set; }
    }
}
